#include "EtatAVideFaceObstacle.h"
#include "EtatAVide.h"
#include "EtatEnChargeFaceObstacle.h"

void EtatAVideFaceObstacle::tourner(Robot *r) {
	r->setEtat(EtatAVide::getEtat());
	r->setEtatCourant("EtatAVide");
}

int EtatAVideFaceObstacle::evaluerObstacle() {
	return 1;
}

void EtatAVideFaceObstacle::saisir(Robot *r) {
	r->setEtat(EtatEnChargeFaceObstacle::getEtat());
	r->setEtatCourant("EtatEnChargeFaceObstacle");
}
